package com.blog.service.impl;

import com.blog.mapper.AdminMapper;
import com.blog.pojo.Admin;
import com.blog.pojo.Blogusers;
import com.blog.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: VE
 * @DATE: 2022/10/11 11:52
 * 描述:
 */
@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminMapper adminMapper;
    @Override
    public Object insert(Admin admin) {
        return null;
    }

    @Override
    public Object delete(int id) {
        return null;
    }

    @Override
    public Object update(Admin admin) {
        return null;
    }

    @Override
    public Admin load(int id) {
        return adminMapper.load(id);
    }

    @Override
    public Admin login(String adminName) {
        return adminMapper.login(adminName);
    }
}
